﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Police/Police.master" AutoEventWireup="true"
    StylesheetTheme="Content" CodeFile="QuestionHistory.aspx.cs" Inherits="Police_Question_QuestionHistory" %>

<%@ Register Src="../../UserContral/ListPageContral.ascx" TagName="ListPageContral"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <ul class="topmenu">
    <li>
    
        <asp:RadioButton ID="rBtnSoldier" AutoPostBack="true" runat="server" Text="中队官兵" 
            GroupName="t" oncheckedchanged="rBtnSoldier_CheckedChanged" />
        <asp:RadioButton ID="rBtnCadre"  Checked="true"  runat="server" Text="大队警官" 
            GroupName="t"  />
    
    </li>
        <li>
            <asp:DropDownList ID="dptDepartmentID" Width="100px" runat="server">
            </asp:DropDownList>
        </li>
        <li><asp:TextBox ID="txtTitle" runat="server" Width="200px"></asp:TextBox>
        </li>
        <li>时间：</li>
        <li>
            <asp:TextBox ID="txtStartTime" Width="80" runat="server"></asp:TextBox>
            <ajaxToolkit:CalendarExtender ID="txtStartTime_CalendarExtender" runat="server" 
                TargetControlID="txtStartTime">
            </ajaxToolkit:CalendarExtender>
        </li>
        <li>&nbsp;至： </li>
        <li>
            <asp:TextBox ID="txtEndTime" Width="80" runat="server"></asp:TextBox>
            <ajaxToolkit:CalendarExtender ID="txtEndTime_CalendarExtender" runat="server" 
                TargetControlID="txtEndTime">
            </ajaxToolkit:CalendarExtender>
        </li>
        <li>
            <asp:LinkButton ID="lBtnQuery" runat="server" Text="查询" OnClick="lBtnQuery_Click"></asp:LinkButton>
        </li>
    </ul>
    <asp:GridView ID="UserGrid" runat="server" AutoGenerateColumns="False" Caption="&lt;span&gt;分类列表&lt;/span&gt;"
        DataKeyNames="ID" OnRowDataBound="UserGrid_RowDataBound">
        <Columns>
            <asp:TemplateField>
                <ItemStyle HorizontalAlign="Center" />
                <HeaderStyle Width="30px" />
                <ItemTemplate>
                    <asp:Label ID="ID" runat="server" ForeColor="#666666"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="标题">
                <ItemTemplate>
                    <%# Eval("Caption")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                  <a href='AnswerAnlyse.aspx?ID=<%# Eval("ID") %>'>
                        综合明细统计</a>
                         <%# GetHref(Eval("ID")) %>                      
                </ItemTemplate>
                <ItemStyle Width="150px" />
            </asp:TemplateField>
        </Columns>
        <RowStyle HorizontalAlign="Left" />
        <HeaderStyle HorizontalAlign="Left" />
    </asp:GridView>
    <uc1:ListPageContral ID="ListPageContral1" OnPageSizeChange="ListPageContral1_PageSizeChange"
        PageSize="15" runat="server" />
</asp:Content>
